package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信息化投入现状对象 crm_input
 * 
 * @author ruoyi
 * @date 2023-03-30
 */
@TableName("crm_input")
public class CrmInput extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 已购买产品 */
    @Excel(name = "已购买产品")
    private String buy;

    /** 购买日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buyTime;

    /** 系统版本 */
    @Excel(name = "系统版本")
    private String edition;

    /** 预估费用 */
    @Excel(name = "预估费用")
    private String cost;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 0没有删除，1已经删除 */
    @Excel(name = "0没有删除，1已经删除")
    private Long del;

    private Long ghId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBuy(String buy) 
    {
        this.buy = buy;
    }

    public String getBuy() 
    {
        return buy;
    }
    public void setBuyTime(Date buyTime) 
    {
        this.buyTime = buyTime;
    }

    public Date getBuyTime() 
    {
        return buyTime;
    }
    public void setEdition(String edition) 
    {
        this.edition = edition;
    }

    public String getEdition() 
    {
        return edition;
    }
    public void setCost(String cost) 
    {
        this.cost = cost;
    }

    public String getCost() 
    {
        return cost;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    public Long getGhId() {
        return ghId;
    }

    public void setGhId(Long ghId) {
        this.ghId = ghId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("buy", getBuy())
            .append("buyTime", getBuyTime())
            .append("edition", getEdition())
            .append("cost", getCost())
            .append("supplier", getSupplier())
            .append("remark", getRemark())
            .append("del", getDel())
            .toString();
    }
}
